﻿@model Pro260Website.Models.ListingViewModel<Domain.Entity.Review>

@{
    ViewBag.Title = "Reviews";
}

    <h1 class="title @Html.GetColor(Request.Cookies["color"])">Reviews</h1>
    @foreach(var r in Model.Items)
    {
        Html.RenderPartial("ReviewSummary", r);<br/>
    }
    
    <p class="actionButtons @Html.GetColor(Request.Cookies["color"])" style="text-align: right;">
    </p>


<div id="pagerForm" class="pager @Html.GetColor(Request.Cookies["color"])">
    @Html.PageLinks(Model.PagingInfo, x => Url.Action("ReviewList", new { page = x}))
</div>
